package ooday02;

public class Test {
    public static void main(String[] args) {
        Dog a=new Dog("大金毛",3,"黄色","肉");
        a.sayHi();
        a.eat();
        a.drink();
        a.lookHome();

        Chick b=new Chick("小黄鸡",1,"黄色","饲料");
        b.sayHi();
        b.eat();
        b.drink();
        b.agg();

        Fish c=new Fish("小金鱼",2,"金色","淤泥");
        c.sayHi();
        c.eat();
        c.drink();
    }
}
